package com.ytkj.digitalConstruction.dao.constructionplan;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.ytkj.digitalConstruction.entity.constructionplan.ConstructionPlanDevice;
import com.ytkj.digitalConstruction.httpbean.constructionprocess.reqbean.AddCommonInfo;
import com.ytkj.digitalConstruction.httpbean.constructionprocess.reqbean.PlanAddParam;

/**
 * 不停航施工Mapper
 * @author iking
 *
 */
@Mapper
public interface ConstructionPlanDeviceMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ConstructionPlanDevice record);

    int insertSelective(ConstructionPlanDevice record);

    ConstructionPlanDevice selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ConstructionPlanDevice record);

    int updateByPrimaryKey(ConstructionPlanDevice record);
    
    int insertByPlan(PlanAddParam addParam);
    
    List<AddCommonInfo> selectByFlowId(Integer flowId);
    
    int deleteByFlowId(Integer flowId);
    
}